﻿<UserControl x:Class="PicturePortfolio.Silverlight.Views.PopupContentView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    xmlns:ca="clr-namespace:Caliburn.Micro;assembly=Caliburn.Micro"             
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <StackPanel>
            <Image x:Name="ClosePreview" Source="/Remove-icon.png" Height="30" Width="30" HorizontalAlignment="Right" VerticalAlignment="Top">
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="MouseLeftButtonUp">
                        <ca:ActionMessage MethodName="ClosePreview">

                        </ca:ActionMessage>
                    </i:EventTrigger>
                </i:Interaction.Triggers>
            </Image>
            <ContentControl x:Name="PopupContent"></ContentControl>
        </StackPanel>
    </Grid>
</UserControl>
